<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/table_basic.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:01 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">



    <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/dist/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/dist/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/dist/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/dist/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/dist/css/style.min862f.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>基本信息</h5>
                </div>
                <div class="ibox-content">
                    <table class="table table-bordered text-center">
                        <tbody>
                        <tr>
                            <td>订单ID</td>
                            <td>订单号</td>
                            <td>会员</td>
                            <td>类型</td>
                            <td>申请退款金额</td>
                            <td>申请时间</td>
                            <td>审核时间</td>
                            <td>收货时间</td>
                            <td>完成时间</td>
                        </tr>
                        <tr>
                            <td>{$info.order_id}</td>
                            <td>{$info.order_sn}</td>
                            <td>{$info.username}</td>
                            <td>{$info.type_str}</td>
                            <td>￥ {$info.apply_money}</td>
                            <td>{$info['status_time1']}</td>
                            <td>{$info['status_time2']}</td>
                            <td>{$info['status_time3']}</td>
                            <td>{$info['status_time4']}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    {if condition="$info['reason']"}
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>退/换货原因</h5>
                    </div>
                    <div class="ibox-content">
                        {$info.reason}
                    </div>
                </div>
            </div>
        </div>
    {/if}

    {if condition="$info.shipping_number_user neq null"}
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>物流信息</h5>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-bordered text-center">
                            <tbody>
                            <tr>
                                <td>用户寄回物流公司</td>
                                <td>用户寄回物流单号</td>
                            </tr>
                            <tr>
                                <td>{$info.shipping_code_user}</td>
                                <td>{$info.shipping_number_user}</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    {/if}

    {if condition="$info.status eq 1"}
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>操作信息</h5>
                    </div>
                    <div class="ibox-content">
                        <form method="post" action="{:Url('OrderAftersale/check')}">
                            <input type="hidden" name="id" value="{$info['id']}">
                            <table class="table table-bordered text-center">
                                <tbody>
                                <tr>
                                    <td>平台留言回复</td>
                                    <td><textarea name="check_message" class="form-control"></textarea></td>
                                </tr>
                                <tr>
                                    <td width="20%">当前可执行操作</td>
                                    <td class="text-left">
                                        <button class="btn btn-primary margin" name="status" value="2" type="submit">审核通过</button>
                                        <button class="btn btn-danger margin" name="status" value="3" type="submit">拒绝</button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    {/if}

    {if condition="$info.status eq 4"}
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>平台确认收货</h5>
                    </div>
                    <div class="ibox-content">
                        <form method="post" action="{:Url('OrderAftersale/confirmReceipt')}">
                            <input type="hidden" name="id" value="{$info['id']}">
                            <table class="table table-bordered text-center">
                                <tbody>
                                <tr>
                                    <td width="20%">当前可执行操作</td>
                                    <td class="text-left">
                                        <button class="btn btn-primary margin" name="status" value="5" type="submit">确认收货</button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    {/if}

    {if condition="$info.status eq 5 or ($info.status eq 2 and $info.type eq 1)"}
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>退款</h5>
                    </div>
                    <div class="ibox-content">
                        <form method="post" action="{:Url('OrderAftersale/refund')}">
                            <input type="hidden" name="id" value="{$info['id']}">
                            <table class="table table-bordered text-center">
                                <tbody>
                                <tr>
                                    <td>退款金额</td>
                                    <td><input type="text" class="form-control" name="money" required style="width: 120px"></td>
                                </tr>
                                <tr>
                                    <td width="20%">当前可执行操作</td>
                                    <td class="text-left">
                                        <button class="btn btn-primary margin" name="status" value="6" type="submit">退款</button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    {/if}

    <div class="row" id="kuaidiBox">

    </div>
</div>
<script src="__PUBLIC__/dist/js/jquery.min.js?v=2.1.4"></script>
<script src="__PUBLIC__/dist/js/bootstrap.min.js?v=3.3.6"></script>
<script src="__PUBLIC__/dist/js/plugins/peity/jquery.peity.min.js"></script>
<script src="__PUBLIC__/dist/js/content.min.js?v=1.0.0"></script>
<script src="__PUBLIC__/dist/js/plugins/iCheck/icheck.min.js"></script>
<script src="__PUBLIC__/dist/js/demo/peity-demo.min.js"></script>
<script>
    $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});

</script>

</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/table_basic.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:01 GMT -->
</html>
